package com.shengqin.controller.api.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class StdInfoModel {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "学籍号")
    private String studyCode;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "身份证号")
    private String idNumber;

    @Schema(description = "出生日期")
    private LocalDate birthday;

    @Schema(description = "家庭地址")
    private String address;

    @Schema(description = "性别")
    private String sex;

    @Schema(description = "民族")
    private String nation;

    @Schema(description = "所属年级")
    private Integer gradeId;

    @Schema(description = "所属班级")
    private Integer classesId;

    @Schema(description = "班级名称")
    private String classesName;

    @Schema(description = "班级编码")
    private String classesCode;

    @Schema(description = "卡号")
    private String cardNo;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "头像")
    private String avatarUrl;
    private String faceData;
    private String featureVersion;
    private String schoolName;
    private String gradeName;
}
